package com.springboot.studentmanagedemo.mapper;

import com.springboot.studentmanagedemo.model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: zhenghongwei
 * @createDate: 2021/12/5
 * @description: Student Mapper接口
 */

@Mapper
public interface StudentMapper {

    List<Student> query();

    int update(Student student);

    int add(Student student);

    int deleteSt(Integer studNo);

    //批量删除学生
    int delAllStudent(List<String> delList);

    List<Student> queryByStudNoAndSchool(Integer studNo,String school);


}
